<%-- 
    Document   : readCustomers
    Created on : Feb 27, 2011, 2:13:13 PM
    Author     : Elise
--%>
<table>
    <tr>
        <th>Name</th>
        <th>Address</th>
        <th>Phone number</th>
        <th></th>
        <th></th>
    </tr>
<c:forEach var="customer" items="${customers}">
    <tr>
        <td><a href="<c:url value='/customers/${customer.id}'/>">${customer.name}</a></td>
        <td>${customer.address}</td>
        <td>${customer.phoneNumber}</td>
        <td><a href="<c:url value='/customers/${customer.id}/edit'/>">Edit Customer</a></td>
        <td><a href="<c:url value='/customers/${customer.id}/remove'/>">Remove Customer</a></td>
    </tr>
</c:forEach>
</table>
